package cn.darkhorse.device.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan jun
 * @since 2022-12-13
 */
@Getter
@Setter
  @TableName("mes_mapping_device")
@ApiModel(value = "MesMappingDevice对象", description = "")
public class MesMappingDevice implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("MES系统设备id")
      private Long deviceId;

      @ApiModelProperty("设备表名称(设备上传数据的表)")
      private String tableName;

      @ApiModelProperty("开关标记字段")
      private String switchField;

      @ApiModelProperty("触发器名称")
      private String triggerName;

      @ApiModelProperty("触发器内容")
      private String triggerContent;

      @ApiModelProperty("处理标记")
      private Integer dealFlag;


}
